﻿using AlarmModule.Models;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AlarmModule.DbContexts {
    //数据库上下文
    public class AlarmDbContext : DbContext {
        //构造函数
        public AlarmDbContext(DbContextOptions<AlarmDbContext> options) : base(options) { }
        //
        public virtual DbSet<AlarmModel> AlarmModel { get; set; }

    }
}
